<?php

// +----------------------------------------------------------------------
// | 存放业务状态码相关配置
// +----------------------------------------------------------------------

return [
    /* 系统 */
    'success' => 200,
    'error' => -1,
    'auth' => 1000,
    'error_system' => 1001,
    'controller_not_found' => 1002,
    'action_not_found' => 1003,
    'error_insert' => 1004,
    'error_update' => 1005,
    'error_delete' => 1006,
    'error_find' => 1007,
    'error_switch' => 1008,

    /* 登录 */
    'error_login_username' => 2001,
    'error_login_password' => 2002,
    'error_login_captcha' => 2003,
    'error_login_status' => 2004,

    /* 微信公众号 */
    'error_wechat_template' => 3001,
];
